home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacOS Resource Fork
(archive/rsrc).
id metadata |
---|
key | value |
---|
macFileType | [clpt] |
macFileCreator | [drag] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 06 8f 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 00 |..clptdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 06 35 00 00 05 35 00 00 |........|.5...5..|
|00000060| 00 5a e8 00 08 a0 c5 00 | 04 7d 28 3a 14 b0 c9 00 |.Z......|.}(:....|
|00000070| 04 48 00 00 10 7c 68 4a | 14 48 00 15 d9 80 41 00 |.H...|hJ|.H....A.|
|00000080| 14 38 1d 49 6d 61 67 65 | 42 75 74 74 6f 6e 20 41 |.8.Image|Button A|
|00000090| 63 74 69 6f 6e 20 4d 61 | 6e 61 67 65 6d 65 6e 74 |ction Ma|nagement|
|000000a0| 6e 72 02 00 63 6c 70 74 | 64 72 61 67 00 00 ff ff |nr..clpt|drag....|
|000000b0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 b3 5a 45 bc | 00 00 00 00 00 00 06 8f |.....ZE.|........|
|000000d0| 00 48 00 18 39 80 41 00 | 14 38 60 00 03 48 00 02 |.H..9.A.|.8`..H..|
|000000e0| 74 38 60 00 03 48 00 02 | 6c 83 be 00 0c 81 3d 00 |t8`..H..|l.....=.|
|000000f0| 00 28 09 00 1c 40 82 00 | c4 80 bf 00 2c 7f c3 f3 |.(...@..|....,...|
|00000100| 78 3b a5 00 0c 38 a0 00 | 01 7f a4 eb 78 48 00 16 |x;...8..|....xH..|
|00000110| 1d 80 41 00 14 7c 7c 1b | 78 28 1c 00 00 39 20 00 |..A..||.|x(...9 .|
|00000120| 0c 40 82 00 20 7f e3 fb | 78 7f c4 f3 78 7f a5 eb |.@.. ...|x...x...|
|00000130| 78 4b ff fa 39 60 00 00 | 00 38 60 00 01 48 00 02 |xK..9`..|.8`..H..|
|00000140| 14 81 1c 00 0c 38 60 00 | 1d 90 68 00 00 91 28 00 |.....8`.|..h...(.|
|00000150| 08 39 00 00 04 e5 20 20 | 20 20 2f 2a 2a 0d 20 20 |.9.... | /**. |
|00000160| 20 20 20 2a 20 53 65 74 | 73 20 74 68 65 20 63 6f | * Set|s the co|
|00000170| 6d 6d 61 6e 64 20 6e 61 | 6d 65 20 6f 66 20 74 68 |mmand na|me of th|
|00000180| 65 20 61 63 74 69 6f 6e | 20 65 76 65 6e 74 20 66 |e action| event f|
|00000190| 69 72 65 64 20 62 79 20 | 74 68 69 73 20 62 75 74 |ired by |this but|
|000001a0| 74 6f 6e 2e 0d 20 20 20 | 20 20 2a 20 40 70 61 72 |ton.. | * @par|
|000001b0| 61 6d 20 63 6f 6d 6d 61 | 6e 64 20 54 68 65 20 6e |am comma|nd The n|
|000001c0| 61 6d 65 20 6f 66 20 74 | 68 65 20 61 63 74 69 6f |ame of t|he actio|
|000001d0| 6e 20 65 76 65 6e 74 20 | 63 6f 6d 6d 61 6e 64 20 |n event |command |
|000001e0| 66 69 72 65 64 20 62 79 | 20 74 68 69 73 20 62 75 |fired by| this bu|
|000001f0| 74 74 6f 6e 0d 20 20 20 | 20 20 2a 2f 0d 20 20 20 |tton. | */. |
|00000200| 20 70 75 62 6c 69 63 20 | 76 6f 69 64 20 73 65 74 | public |void set|
|00000210| 41 63 74 69 6f 6e 43 6f | 6d 6d 61 6e 64 28 53 74 |ActionCo|mmand(St|
|00000220| 72 69 6e 67 20 63 6f 6d | 6d 61 6e 64 29 0d 20 20 |ring com|mand). |
|00000230| 20 20 7b 0d 20 20 20 20 | 20 20 20 20 61 63 74 69 | {. | acti|
|00000240| 6f 6e 43 6f 6d 6d 61 6e | 64 20 3d 20 63 6f 6d 6d |onComman|d = comm|
|00000250| 61 6e 64 3b 0d 20 20 20 | 20 7d 0d 0d 20 20 20 20 |and;. | }.. |
|00000260| 2f 2a 2a 0d 20 20 20 20 | 20 2a 20 52 65 74 75 72 |/**. | * Retur|
|00000270| 6e 73 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6e |ns the c|ommand n|
|00000280| 61 6d 65 20 6f 66 20 74 | 68 65 20 61 63 74 69 6f |ame of t|he actio|
|00000290| 6e 20 65 76 65 6e 74 20 | 66 69 72 65 64 20 62 79 |n event |fired by|
|000002a0| 20 74 68 69 73 20 62 75 | 74 74 6f 6e 2e 0d 20 20 | this bu|tton.. |
|000002b0| 20 20 20 2a 20 40 72 65 | 74 75 72 6e 20 74 68 65 | * @re|turn the|
|000002c0| 20 61 63 74 69 6f 6e 20 | 63 6f 6d 6d 61 6e 64 20 | action |command |
|000002d0| 6e 61 6d 65 0d 20 20 20 | 20 20 2a 2f 0d 20 20 20 |name. | */. |
|000002e0| 20 70 75 62 6c 69 63 20 | 53 74 72 69 6e 67 20 67 | public |String g|
|000002f0| 65 74 41 63 74 69 6f 6e | 43 6f 6d 6d 61 6e 64 28 |etAction|Command(|
|00000300| 29 0d 20 20 20 20 7b 0d | 20 20 20 20 20 20 20 20 |). {.| |
|00000310| 72 65 74 75 72 6e 20 61 | 63 74 69 6f 6e 43 6f 6d |return a|ctionCom|
|00000320| 6d 61 6e 64 3b 0d 20 20 | 20 20 7d 0d 0d 20 20 20 |mand;. | }.. |
|00000330| 20 2f 2a 2a 0d 20 20 20 | 20 20 2a 20 41 64 64 73 | /**. | * Adds|
|00000340| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 61 | the spe|cified a|
|00000350| 63 74 69 6f 6e 20 6c 69 | 73 74 65 6e 65 72 20 74 |ction li|stener t|
|00000360| 6f 20 72 65 63 65 69 76 | 65 20 61 63 74 69 6f 6e |o receiv|e action|
|00000370| 20 65 76 65 6e 74 73 0d | 20 20 20 20 20 2a 20 66 | events.| * f|
|00000380| 72 6f 6d 20 74 68 69 73 | 20 62 75 74 74 6f 6e 2e |rom this| button.|
|00000390| 0d 20 20 20 20 20 2a 20 | 40 70 61 72 61 6d 20 6c |. * |@param l|
|000003a0| 20 74 68 65 20 61 63 74 | 69 6f 6e 20 6c 69 73 74 | the act|ion list|
|000003b0| 65 6e 65 72 0d 20 20 20 | 20 20 2a 2f 0d 09 70 75 |ener. | */..pu|
|000003c0| 62 6c 69 63 20 76 6f 69 | 64 20 61 64 64 41 63 74 |blic voi|d addAct|
|000003d0| 69 6f 6e 4c 69 73 74 65 | 6e 65 72 28 41 63 74 69 |ionListe|ner(Acti|
|000003e0| 6f 6e 4c 69 73 74 65 6e | 65 72 20 6c 29 0d 09 7b |onListen|er l)..{|
|000003f0| 0d 09 09 61 63 74 69 6f | 6e 4c 69 73 74 65 6e 65 |...actio|nListene|
|00000400| 72 20 3d 20 41 57 54 45 | 76 65 6e 74 4d 75 6c 74 |r = AWTE|ventMult|
|00000410| 69 63 61 73 74 65 72 2e | 61 64 64 28 61 63 74 69 |icaster.|add(acti|
|00000420| 6f 6e 4c 69 73 74 65 6e | 65 72 2c 20 6c 29 3b 0d |onListen|er, l);.|
|00000430| 09 7d 0d 0d 20 20 20 20 | 2f 2a 2a 0d 20 20 20 20 |.}.. |/**. |
|00000440| 20 2a 20 52 65 6d 6f 76 | 65 73 20 74 68 65 20 73 | * Remov|es the s|
|00000450| 70 65 63 69 66 69 65 64 | 20 61 63 74 69 6f 6e 20 |pecified| action |
|00000460| 6c 69 73 74 65 6e 65 72 | 20 73 6f 20 69 74 20 6e |listener| so it n|
|00000470| 6f 20 6c 6f 6e 67 65 72 | 20 72 65 63 65 69 76 65 |o longer| receive|
|00000480| 73 0d 20 20 20 20 20 2a | 20 61 63 74 69 6f 6e 20 |s. *| action |
|00000490| 65 76 65 6e 74 73 20 66 | 72 6f 6d 20 74 68 69 73 |events f|rom this|
|000004a0| 20 62 75 74 74 6f 6e 2e | 0d 20 20 20 20 20 2a 20 | button.|. * |
|000004b0| 40 70 61 72 61 6d 20 6c | 20 74 68 65 20 61 63 74 |@param l| the act|
|000004c0| 69 6f 6e 20 6c 69 73 74 | 65 6e 65 72 0d 20 20 20 |ion list|ener. |
|000004d0| 20 20 2a 2f 0d 09 70 75 | 62 6c 69 63 20 76 6f 69 | */..pu|blic voi|
|000004e0| 64 20 72 65 6d 6f 76 65 | 41 63 74 69 6f 6e 4c 69 |d remove|ActionLi|
|000004f0| 73 74 65 6e 65 72 28 41 | 63 74 69 6f 6e 4c 69 73 |stener(A|ctionLis|
|00000500| 74 65 6e 65 72 20 6c 29 | 0d 09 7b 0d 09 09 61 63 |tener l)|..{...ac|
|00000510| 74 69 6f 6e 4c 69 73 74 | 65 6e 65 72 20 3d 20 41 |tionList|ener = A|
|00000520| 57 54 45 76 65 6e 74 4d | 75 6c 74 69 63 61 73 74 |WTEventM|ulticast|
|00000530| 65 72 2e 72 65 6d 6f 76 | 65 28 61 63 74 69 6f 6e |er.remov|e(action|
|00000540| 4c 69 73 74 65 6e 65 72 | 2c 20 6c 29 3b 0d 09 7d |Listener|, l);..}|
|00000550| 0d 09 0d 09 2f 2a 2a 0d | 20 20 20 20 20 2a 20 46 |..../**.| * F|
|00000560| 69 72 65 20 61 6e 20 61 | 63 74 69 6f 6e 20 65 76 |ire an a|ction ev|
|00000570| 65 6e 74 20 74 6f 20 74 | 68 65 20 6c 69 73 74 65 |ent to t|he liste|
|00000580| 6e 65 72 73 2e 0d 20 20 | 20 20 20 2a 2f 0d 09 70 |ners.. | */..p|
|00000590| 72 6f 74 65 63 74 65 64 | 20 76 6f 69 64 20 66 69 |rotected| void fi|
|000005a0| 72 65 41 63 74 69 6f 6e | 45 76 65 6e 74 28 29 0d |reAction|Event().|
|000005b0| 09 7b 0d 09 09 69 66 20 | 28 61 63 74 69 6f 6e 4c |.{...if |(actionL|
|000005c0| 69 73 74 65 6e 65 72 20 | 21 3d 20 6e 75 6c 6c 29 |istener |!= null)|
|000005d0| 0d 09 09 09 61 63 74 69 | 6f 6e 4c 69 73 74 65 6e |....acti|onListen|
|000005e0| 65 72 2e 61 63 74 69 6f | 6e 50 65 72 66 6f 72 6d |er.actio|nPerform|
|000005f0| 65 64 28 6e 65 77 20 41 | 63 74 69 6f 6e 45 76 65 |ed(new A|ctionEve|
|00000600| 6e 74 28 74 68 69 73 2c | 20 41 63 74 69 6f 6e 45 |nt(this,| ActionE|
|00000610| 76 65 6e 74 2e 41 43 54 | 49 4f 4e 5f 50 45 52 46 |vent.ACT|ION_PERF|
|00000620| 4f 52 4d 45 44 2c 20 61 | 63 74 69 6f 6e 43 6f 6d |ORMED, a|ctionCom|
|00000630| 6d 61 6e 64 29 29 3b 0d | 09 7d 0d 00 00 00 20 00 |mand));.|.}.... .|
|00000640| 00 00 01 00 00 00 04 00 | 00 00 00 00 00 00 01 54 |........|.......T|
|00000650| 45 58 54 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |EXT.....|........|
|00000660| 00 00 24 00 00 00 05 00 | 01 04 07 00 2f 02 0d 00 |..$.....|..../...|
|00000670| f7 03 39 00 03 00 00 00 | 00 01 50 8c 00 00 00 05 |..9.....|..P.....|
|00000680| 21 60 60 00 00 00 00 00 | 00 01 00 00 00 06 35 00 |!``.....|......5.|
|00000690| 00 05 35 00 00 00 5a 05 | aa e1 68 46 24 00 00 00 |..5...Z.|..hF$...|
|000006a0| 1c 00 5a 00 02 54 45 58 | 54 00 00 00 1a 64 72 61 |..Z..TEX|T....dra|
|000006b0| 67 00 00 00 26 6b 77 73 | 74 00 00 00 32 01 00 ff |g...&kws|t...2...|
|000006c0| ff 00 00 00 00 00 00 00 | 00 00 80 ff ff 00 00 04 |........|........|
|000006d0| e9 00 00 00 00 bf 4c ff | ff 00 00 05 0d 00 89 c9 |......L.|........|
|000006e0| 78 | |x | |
+--------+-------------------------+-------------------------+--------+--------+